<%-- 
    Document   : tdq-update
    Created on : 19 Mei 11, 15:04:28
    Author     : Bayu
--%>

<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <jsp:include page="includes/script.html"/>

        <title>Input</title>
    </head>

    <body>
        <center>
        <h2>Edit List Pembuatan TDQ</h2>
        <br>

        <form method="post">

            <c:forEach var="data" items="${data}">
            <input type="hidden" name="id" value="${data.id}">
            <table>
                <tr>
                    <td>Part Name</td>
                    <td><input type="text" name="partName" value="${data.partName}"></td>

                </tr>
                <tr>
                    <td>Part Number</td>
                    <td><input type="text" name="partNumber" value="${data.partNumber}"></td>
                </tr>
                <tr>
                    <td>Customer</td>
                    <td><input type="text" name="customer" value="${data.customer}"></td>
                </tr>

                <tr>
                   <td>Date</td>
                   <td><input type="text" name="date" readonly value="${data.date}">
                    <img src="images/calendar.gif" onclick="displayDatePicker('date', false, 'ymd', '-');" />
                    </td>
                </tr>


                <tr>
                    <td colspan="2" align="right"><input  type="submit" name="submit" value="Save" ></td>
                </tr>
            </table>
            </c:forEach>


        </form>

</center>

    </body>
</html>


